Optimal. Leaf size=34 \[ -\frac {a \left (a+b x^2\right )^7}{14 b^2}+\frac {\left (a+b x^2\right )^8}{16 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {28, 272, 45}
\begin {gather*} \frac {\left (a+b x^2\right )^8}{16 b^2}-\frac {a \left (a+b x^2\right )^7}{14 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 45
Rule 272
Rubi steps
\begin {align*} \int x^3 \left (a^2+2 a b x^2+b^2 x^4\right )^3 \, dx &=\frac {\int x^3 \left (a b+b^2 x^2\right )^6 \, dx}{b^6}\\ &=\frac {\text {Subst}\left (\int x \left (a b+b^2 x\right )^6 \, dx,x,x^2\right )}{2 b^6}\\ &=\frac {\text {Subst}\left (\int \left (-\frac {a \left (a b+b^2 x\right )^6}{b}+\frac {\left (a b+b^2 x\right )^7}{b^2}\right ) \, dx,x,x^2\right )}{2 b^6}\\ &=-\frac {a \left (a+b x^2\right )^7}{14 b^2}+\frac {\left (a+b x^2\right )^8}{16 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(77\) vs. \(2(34)=68\).
time = 0.00, size = 77, normalized size = 2.26 \begin {gather*} \frac {a^6 x^4}{4}+a^5 b x^6+\frac {15}{8} a^4 b^2 x^8+2 a^3 b^3 x^{10}+\frac {5}{4} a^2 b^4 x^{12}+\frac {3}{7} a b^5 x^{14}+\frac {b^6 x^{16}}{16} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(67\) vs.
\(2(30)=60\).
time = 0.05, size = 68, normalized size = 2.00
method | result | size |
default | \(\frac {1}{4} a^{6} x^{4}+a^{5} b \,x^{6}+\frac {15}{8} a^{4} b^{2} x^{8}+2 a^{3} b^{3} x^{10}+\frac {5}{4} a^{2} b^{4} x^{12}+\frac {3}{7} a \,b^{5} x^{14}+\frac {1}{16} b^{6} x^{16}\) | \(68\) |
norman | \(\frac {1}{4} a^{6} x^{4}+a^{5} b \,x^{6}+\frac {15}{8} a^{4} b^{2} x^{8}+2 a^{3} b^{3} x^{10}+\frac {5}{4} a^{2} b^{4} x^{12}+\frac {3}{7} a \,b^{5} x^{14}+\frac {1}{16} b^{6} x^{16}\) | \(68\) |
risch | \(\frac {1}{4} a^{6} x^{4}+a^{5} b \,x^{6}+\frac {15}{8} a^{4} b^{2} x^{8}+2 a^{3} b^{3} x^{10}+\frac {5}{4} a^{2} b^{4} x^{12}+\frac {3}{7} a \,b^{5} x^{14}+\frac {1}{16} b^{6} x^{16}\) | \(68\) |
gosper | \(\frac {x^{4} \left (7 b^{6} x^{12}+48 a \,b^{5} x^{10}+140 a^{2} b^{4} x^{8}+224 a^{3} b^{3} x^{6}+210 a^{4} b^{2} x^{4}+112 a^{5} b \,x^{2}+28 a^{6}\right )}{112}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 67 vs.
\(2 (30) = 60\).
time = 0.29, size = 67, normalized size = 1.97 \begin {gather*} \frac {1}{16} \, b^{6} x^{16} + \frac {3}{7} \, a b^{5} x^{14} + \frac {5}{4} \, a^{2} b^{4} x^{12} + 2 \, a^{3} b^{3} x^{10} + \frac {15}{8} \, a^{4} b^{2} x^{8} + a^{5} b x^{6} + \frac {1}{4} \, a^{6} x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 67 vs.
\(2 (30) = 60\).
time = 0.34, size = 67, normalized size = 1.97 \begin {gather*} \frac {1}{16} \, b^{6} x^{16} + \frac {3}{7} \, a b^{5} x^{14} + \frac {5}{4} \, a^{2} b^{4} x^{12} + 2 \, a^{3} b^{3} x^{10} + \frac {15}{8} \, a^{4} b^{2} x^{8} + a^{5} b x^{6} + \frac {1}{4} \, a^{6} x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 75 vs.
\(2 (27) = 54\).
time = 0.02, size = 75, normalized size = 2.21 \begin {gather*} \frac {a^{6} x^{4}}{4} + a^{5} b x^{6} + \frac {15 a^{4} b^{2} x^{8}}{8} + 2 a^{3} b^{3} x^{10} + \frac {5 a^{2} b^{4} x^{12}}{4} + \frac {3 a b^{5} x^{14}}{7} + \frac {b^{6} x^{16}}{16} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 67 vs.
\(2 (30) = 60\).
time = 3.95, size = 67, normalized size = 1.97 \begin {gather*} \frac {1}{16} \, b^{6} x^{16} + \frac {3}{7} \, a b^{5} x^{14} + \frac {5}{4} \, a^{2} b^{4} x^{12} + 2 \, a^{3} b^{3} x^{10} + \frac {15}{8} \, a^{4} b^{2} x^{8} + a^{5} b x^{6} + \frac {1}{4} \, a^{6} x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 67, normalized size = 1.97 \begin {gather*} \frac {a^6\,x^4}{4}+a^5\,b\,x^6+\frac {15\,a^4\,b^2\,x^8}{8}+2\,a^3\,b^3\,x^{10}+\frac {5\,a^2\,b^4\,x^{12}}{4}+\frac {3\,a\,b^5\,x^{14}}{7}+\frac {b^6\,x^{16}}{16} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________